package cn.edu.scau.cmi.zhangweiming.SingletonClient;

import java.awt.TextField;
import java.net.URL;

public class Chairman {
	private static Chairman chairman;
	private String name ;
	private int num;
	
	private Chairman(String name) {
		this.name=name;
	}
	public static Chairman getInstance(String name) {
		if (chairman == null) {
			chairman=new Chairman(name);
		} 
		return chairman;
	}
	public String getName() {
		return name;
	}
	public int getnum() {
		return num;
	}
}
